-- GENERATED SPELL FOR [Ethereum Relay] --


function spell0_20619(pUnit, Event) --@Shadowform,Self--
pUnit:FullCastSpellOnTarget(16592,pUnit)
pUnit:RegisterEvent('Sorts_20619', 562, 1)
end

function Sorts_20619(pUnit, Event)
local choix_sorts_20619 = math.random(0, 0)
if choix_sorts_20619 == 0 then
pUnit:RegisterEvent('spell0_20619', 1, 1)
end
end

function mob20619_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20619', math.random(1500, 3000), 1)
end

function mob20619_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20619_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20619_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20619, 1, 'mob20619_Action')
RegisterUnitEvent(20619, 2, 'mob20619_Leave')
RegisterUnitEvent(20619, 3, 'mob20619_Kill')
RegisterUnitEvent(20619, 4, 'mob20619_Die')
